package com.guoteng.androidlearn;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;

public class CustomLayoutActivity extends BaseActivity {

    public static void startActivity(Context context) {

        Intent intent = new Intent(context, CustomLayoutActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_custom_layout);

        ActionBar actionBar = getSupportActionBar();

        if (actionBar != null) {

            actionBar.hide();
        }
    }
}
